/*
 * @Author: your name
 * @Date: 2021-08-02 00:32:54
 * @LastEditTime: 2021-08-02 10:40:08
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \aircityinit\src\api\home.js
 */
// import axios from "../utils/HTTP"
import axios from 'axios'
import { Service, Mock } from "../utils/service" // 把请求地址模块化统一管理

export const getMockData = () => {
    // console.log(Mock.aircity + '/test.json',1240);

    return axios.get(Mock.aircity + '/data.json')
}
export const getMockDataByTime = () => {
    // console.log(Mock.aircity + '/test.json',1240);

    return axios.get(Mock.aircity + '/dataByTime.json')
}
// 请求接口示例
export const getApiData = () => {
    return axios.get(Service.mdoel1 + '/test')
}